<template>
  <div class="errPage-container">
    <el-result
        icon="error"
        sub-title="页面不存在"
        title="404"
    >
      <template #extra>
        <el-button type="primary" @click="() => router.push('/login')">返回首页</el-button>
      </template>
    </el-result>
  </div>
</template>

<script setup>
import router from '@/router'
</script>

<style scoped>
.errPage-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>